package com.xz.stu.server.service;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import com.xz.stu.server.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.stu.server.vo.student.*;

import java.util.List;
import java.util.Map;

/**
* @author 熊磊
* @description 针对表【school_student】的数据库操作Service
* @createDate 2025-03-01 15:18:51
*/
public interface StudentService extends IService<Student> {

    Long createStudent(StudentCreateReqVO createReqVO);

    void updateStudent(StudentUpdateReqVO updateReqVO);

    void deleteStudent(List<Long> id);

    StudentRespVO getStudent(Long id);

    List<StudentRespVO> getStudentList(StudentListReqVO listReqVO);

    PageResult<StudentRespVO> getStudentListPage(StudentListPageReqVO listReqVO);

    CommonResult<Map<String,String>> importStudents(List<StudentTemplateVO> students);
}
